home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / icon / packages.lha / packages / atari / ats.arc / STAND.ARC / VERSION7.OUT < prev    next >
Text File  |  1990-03-28  |  4KB  |  172 lines

  1. megaron.cs.arizona.edu
  2. Icon Version 8.0.  March 25, 1990
  3. &line=7
  4. &file=version7.icn
  5. &error=0
  6. UNIX
  7. ASCII
  8. co-expressions
  9. direct execution
  10. environment variables
  11. error trace back
  12. executable images
  13. expandable regions
  14. external functions
  15. large integers
  16. math functions
  17. memory monitoring
  18. pipes
  19. string invocation
  20. system function
  21.     i        j       ~j      i & j    i | j    i ^ j   i << j   i >> j
  22.        1        0
  23. 00000001 00000000 FFFFFFFF 00000000 00000001 00000001 00000001 00000001 
  24.        1        1
  25. 00000001 00000001 FFFFFFFE 00000001 00000001 00000000 00000002 00000000 
  26.        1        2
  27. 00000001 00000002 FFFFFFFD 00000000 00000003 00000003 00000004 00000000 
  28.        1        3
  29. 00000001 00000003 FFFFFFFC 00000001 00000003 00000002 00000008 00000000 
  30.        1        4
  31. 00000001 00000004 FFFFFFFB 00000000 00000005 00000005 00000010 00000000 
  32.        1      100
  33. 00000001 00000064 FFFFFF9B 00000000 00000065 00000065 00000000 00000000 
  34.     i        j       ~j      i & j    i | j    i ^ j   i << j   i >> j
  35.        2        0
  36. 00000002 00000000 FFFFFFFF 00000000 00000002 00000002 00000002 00000002 
  37.        2        1
  38. 00000002 00000001 FFFFFFFE 00000000 00000003 00000003 00000004 00000001 
  39.        2        2
  40. 00000002 00000002 FFFFFFFD 00000002 00000002 00000000 00000008 00000000 
  41.        2        3
  42. 00000002 00000003 FFFFFFFC 00000002 00000003 00000001 00000010 00000000 
  43.        2        4
  44. 00000002 00000004 FFFFFFFB 00000000 00000006 00000006 00000020 00000000 
  45.        2      100
  46. 00000002 00000064 FFFFFF9B 00000000 00000066 00000066 00000000 00000000 
  47.     i        j       ~j      i & j    i | j    i ^ j   i << j   i >> j
  48.        3        0
  49. 00000003 00000000 FFFFFFFF 00000000 00000003 00000003 00000003 00000003 
  50.        3        1
  51. 00000003 00000001 FFFFFFFE 00000001 00000003 00000002 00000006 00000001 
  52.        3        2
  53. 00000003 00000002 FFFFFFFD 00000002 00000003 00000001 0000000C 00000000 
  54.        3        3
  55. 00000003 00000003 FFFFFFFC 00000003 00000003 00000000 00000018 00000000 
  56.        3        4
  57. 00000003 00000004 FFFFFFFB 00000000 00000007 00000007 00000030 00000000 
  58.        3      100
  59. 00000003 00000064 FFFFFF9B 00000000 00000067 00000067 00000000 00000000 
  60. file(concord.dat)
  61. 11
  62. "eoptera, ("
  63. 21
  64. 21
  65. 1212
  66. "."
  67. 1213
  68. /usr/ralph
  69. getenv failed
  70. getenv failed
  71. &ascii
  72. &cset
  73. &digits
  74. '123456789'
  75. 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'
  76. 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'
  77. &lcase
  78. list_3(1)
  79. list_4(2)
  80. list_5(3)
  81. list_6(4)
  82. list_7(0)
  83. p(1):
  84.    image(a):1
  85.    image(b):&null
  86.    image(c):list_10(0)
  87.    every write("\t", !c):
  88. p(1, 2):
  89.    image(a):1
  90.    image(b):2
  91.    image(c):list_11(0)
  92.    every write("\t", !c):
  93. p(1, 2, 3):
  94.    image(a):1
  95.    image(b):2
  96.    image(c):list_12(1)
  97.    every write("\t", !c):
  98.     3
  99. p(1, 2, 3, 4, 5):
  100.    image(a):1
  101.    image(b):2
  102.    image(c):list_13(3)
  103.    every write("\t", !c):
  104.     3
  105.     4
  106.     5
  107. q(1, 2):
  108.    every write("\t", !a):
  109.     1
  110.     2
  111. t := table("default") --> table_2(0)
  112.    *t --> 0
  113.    t["xyz"] --> "default"
  114.    member(t, "xyz") --> failure
  115.    contents of t:
  116.  
  117. insert(t, 3, 4) --> table_2(1)
  118. insert(t, "xyz", "abc") --> table_2(2)
  119. insert(t, &digits) --> table_2(3)
  120.    *t --> 3
  121.    t["xyz"] --> "abc"
  122.    member(t, "xyz") --> "xyz"
  123.    contents of t:
  124.     3 : 4
  125.     "xyz" : "abc"
  126.     &digits : &null
  127.  
  128. t["xyz"] := "new value" --> "new value"
  129.    *t --> 3
  130.    t["xyz"] --> "new value"
  131.    member(t, "xyz") --> "xyz"
  132.    contents of t:
  133.     3 : 4
  134.     "xyz" : "new value"
  135.     &digits : &null
  136.  
  137. insert(t, "xyz", "def") --> table_2(3)
  138.    *t --> 3
  139.    t["xyz"] --> "def"
  140.    member(t, "xyz") --> "xyz"
  141.    contents of t:
  142.     3 : 4
  143.     "xyz" : "def"
  144.     &digits : &null
  145.  
  146. delete(t, "xyz") -- > table_2(2)
  147.    *t --> 2
  148.    t["xyz"] --> "default"
  149.    member(t, "xyz") --> failure
  150.    contents of t:
  151.     3 : 4
  152.     &digits : &null
  153.  
  154. delete(t, "xyz") -- > table_2(2)
  155.    *t --> 2
  156.    t["xyz"] --> "default"
  157.    member(t, "xyz") --> failure
  158.    contents of t:
  159.     3 : 4
  160.     &digits : &null
  161.  
  162. &errornumber=101
  163. &errortext=integer expected
  164. &errorvalue=no value
  165. Run-time error 701
  166. File version7.icn; Line 154
  167.  
  168. offending value: "abc"
  169. Trace back:
  170.    main()
  171.    runerr(701,"abc") from line 154 in version7.icn
  172.